package cn.yunyichina.provider.bone.dao;

import cn.yunyichina.provider.bone.entity.CooperateOrg;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-04-20 10:37:35
*/
@Repository
@MyBatisRepository
public interface CooperateOrgDao extends BaseDao<cn.yunyichina.provider.bone.entity.CooperateOrg>{
    CooperateOrg selectByCode(@Param("orgCode") String orgCode);
    List<Map<String, Object>> selectCooperateOrg(Map<String ,Object> params);
    List<Map<String,String>> groupByCity();
}